stress_history=[200, -102.818602462, 167.698952689, -121.540685025, 161.270114838, -121.483286696, 159.330173496, -140.048195329, 227.636144972, -158.365062655, 246.244939688, -181.17433358, 171.518713404, -197.776014674, 228.272929704, -185.596682145, 229.1689244, -193.035393036, 156.487309934, -197.650817544, 207.139406555, -113.99274813, 228.130527749, -154.016270958, 249.764153173, -133.117227037, 196.457481697, -199.412373681, 158.840906238, -154.797661257, 186.458146944, -124.212758323, 215.276743635, -103.448741933, 235.17241515, -198.952654728, 225.689727941, -119.726958379, 203.102637393, -182.489739278, 180.076823107, -112.352967034, 207.456160044, -182.249701361, 158.653520507, -123.445477553, 198.490488352, -113.609366618, 171.918862516, -107.946684172, 171.858683682, -169.390828812, 157.084964782, -137.81475172, 176.270670974, -167.198578701, 159.531595126, -171.966962458, 207.84650359, -105.040052186, 203.088100942, -146.495786102, 215.588556139, -182.753843283, 217.381043148, -147.115882788, 235.190531707, -114.658442184, 182.105591498, -188.803984756, 227.492170441, -190.996888166, 241.178183265, -178.771907134, 233.286503172, -187.15160748, 242.906479294, -131.361876016, 189.55454519, -130.127892694, 222.618629066, -124.50935443, 202.433706143, -199.959192258, 151.22948309, -178.364729391, 195.790524406, -122.210631582, 170.482546452, -158.748794674, 157.676269779, -186.108253584, 180.768617433, -170.333221141, 151.438408665, -166.728788764, 165.687903366, -160.087319493, 184.763537238, -154.478238888, 239.256438506, -118.828450824, 233.375435015, -114.483523551, 200.593365758, -150.945435474, 181.397732004, -148.663513613, 209.213552637, -128.751251572, 190.481663004, -110.345045264, 198.697871635, -187.51909576, 193.893973974, -188.178280165, 213.438877223, -114.696801102, 158.522463331, -172.409820287, 179.700680945, -106.075247762, 205.090922191, -110.069869599, 232.588757075, -135.191561159, 234.721566793, -190.26175387, 191.738772111, -144.502444491, 228.59666105, -156.427709718, 183.179585654, -173.748054025, 229.324383825, -194.079846226, 161.32565131, -143.432927111, 212.775558666, -188.308986996, 237.819092307, -123.843024387, 241.651379811, -176.929218961, 164.766921533, -123.221161241, 179.033634274, -103.502029945, 206.158656879, -140.37128197, 159.668125553, -129.656341119, 226.818358369, -183.930099087, 241.66683021, -181.209882061, 164.19163814, -127.632006972, 189.471344375, -102.139553628, 157.949897182, -177.916108087, 176.78983733, -151.279241949, 233.814452221, -146.376763851, 156.332682735, -113.886527649, 180.510259683, -145.435679447, 159.042703572, -166.501604749, 240.415312093, -138.118721687, 179.614346028, -145.835127579, 224.270579319, -165.14296905, 169.67350314, -111.305232826, 163.691202712, -162.887582729, 213.813217121, -155.501075518, 247.11647505, -167.414554608, 226.184674158, -137.386264089, 213.163458437, -182.500579765, 187.587944824, -135.939185117, 210.516718761, -139.193664511, 164.20612813, -176.409425638, 230.836054686, -150, 200];