stress_history=[200, -100.614429104, 242.957680438, -152.545072584, 192.756936095, -186.20632303, 218.016012821, -111.713959374, 193.276974334, -164.98599679, 236.328805878, -137.689708232, 177.89344482, -141.463394094, 233.464529814, -173.803519522, 158.832352654, -163.431313652, 229.326584037, -146.871125555, 227.733226583, -111.582830607, 241.504156885, -107.620537347, 189.37815446, -138.034791745, 156.937323876, -197.099341162, 243.211017262, -136.261038145, 242.459139958, -188.544582099, 179.816527272, -191.527220922, 230.544093177, -167.957177862, 180.807884975, -135.56819655, 199.236256077, -183.445445049, 219.952500754, -123.370382268, 186.088474613, -131.508041895, 160.451988222, -161.868797837, 201.974872507, -143.672379135, 206.23347182, -135.584553431, 213.818721864, -127.06050696, 151.287511634, -118.838875186, 214.316714488, -102.232122569, 151.836280379, -179.924243758, 196.195604975, -108.234437597, 161.897022501, -111.731657971, 217.953962448, -119.493190413, 165.902576577, -148.867966396, 200.703279574, -126.001560388, 206.406600795, -103.850088937, 214.210385791, -170.557108168, 165.403689905, -155.535407605, 150.958431975, -142.475305131, 235.011493425, -177.682466156, 229.976746972, -178.69043855, 211.116017167, -137.768457221, 204.470895685, -160.7065096, 207.257646638, -189.06214384, 153.02254731, -153.890059241, 241.962113873, -123.925861859, 239.58348749, -161.059617946, 196.340276624, -135.901473302, 210.483861884, -165.952389961, 182.499562349, -163.360575569, 238.940300207, -188.982575806, 162.415628409, -176.530596303, 160.920840848, -107.877555459, 158.964875542, -182.641774998, 213.201811905, -185.922751842, 249.375119308, -194.032097744, 248.601000671, -176.685501576, 151.623604947, -164.795287771, 203.639948942, -146.646332859, 235.957809172, -168.850308248, 150.731464307, -116.782175786, 249.990126276, -156.179101602, 238.204655124, -106.186597804, 248.232443373, -178.922914202, 249.468943953, -130.840958603, 155.693122356, -118.404140794, 170.985930773, -109.777917257, 225.468471322, -121.234217608, 237.074080196, -158.182663452, 175.464803134, -123.171125484, 200.463112139, -136.898097541, 218.472295581, -183.801047589, 217.902509268, -110.880740845, 230.82741317, -143.340378576, 242.838408638, -182.090250695, 167.236475431, -171.791770783, 205.116475271, -110.930013203, 231.412420718, -111.877806696, 170.496575851, -151.184650927, 186.415705458, -102.425837718, 237.145159035, -139.660567156, 222.644301961, -183.736197521, 163.299629847, -111.870399695, 206.760512226, -187.067981727, 248.925976334, -133.381928697, 155.195979306, -140.53889493, 210.40349857, -146.438613707, 186.628935452, -109.816566715, 158.944243905, -144.803245103, 204.344797808, -170.252886175, 151.106549395, -151.640384089, 232.861381363, -194.864878274, 174.026308293, -100.979058302, 152.811769451, -109.720701497, 232.482380879, -143.917237027, 156.608590615, -171.967677554, 248.763365003, -133.146343858, 200.930268373, -117.848187846, 159.028993346, -168.17899727, 218.054610383, -150, 200];