stress_history=[200, -151.894433277, 248.008333481, -129.773608039, 227.533739669, -195.109449207, 226.5570941, -134.263146954, 177.848613885, -195.39581495, 211.690595557, -138.731018031, 249.518715612, -171.035214465, 227.827952587, -108.510979689, 189.177508873, -145.644947016, 202.812446608, -199.983640273, 244.310752153, -185.756468001, 228.459165015, -108.376999056, 192.693104165, -107.181973791, 177.508933222, -176.044543438, 248.301795709, -159.861582986, 160.405280993, -118.606640847, 202.241801176, -169.848188557, 247.302294733, -122.780004878, 204.715856886, -136.047942679, 247.923183468, -121.833367031, 222.469994013, -121.842539119, 212.22867313, -125.175228085, 208.369033775, -139.167215693, 155.42091787, -148.993909687, 230.99162314, -168.460218996, 201.228600195, -173.459373644, 227.660284309, -141.243715762, 235.751921955, -119.626775085, 172.266440074, -148.858748613, 218.841223271, -114.960256238, 213.557184971, -193.278436363, 193.648298344, -192.44717455, 183.049576127, -131.874371934, 247.373983056, -103.927189666, 207.288393257, -111.584989505, 233.492847252, -182.366790264, 233.242992374, -105.293541264, 234.245801362, -124.835814321, 157.949331664, -134.407300774, 163.208000452, -143.658785772, 194.12907662, -155.363798347, 163.129203814, -151.672651759, 217.540417314, -192.423128141, 244.70075937, -132.684480603, 158.817864051, -131.890050836, 230.847165921, -198.366713865, 242.656958826, -125.924242985, 192.464226613, -122.948643266, 179.012632321, -137.898185531, 200.325469996, -111.100675403, 150.890632777, -142.603177206, 180.193886868, -149.34125165, 199.673386092, -164.048502191, 238.791982569, -145.610486441, 242.283500378, -161.737539907, 237.287385207, -150.721023632, 196.816260986, -174.534206064, 168.80288807, -171.105472489, 165.143064706, -155.26579429, 211.997216857, -188.27809577, 198.487811858, -133.074197803, 227.126805002, -192.89979214, 192.609932724, -180.85595481, 177.370765109, -174.794517188, 216.647438416, -103.043798816, 175.994665644, -168.183117513, 151.870366696, -143.691578544, 151.055410027, -151.396121746, 192.085734315, -105.771680035, 152.749716507, -111.229010546, 193.744594365, -176.174030425, 228.26954645, -181.314262411, 235.569560165, -199.494257466, 206.649468057, -126.053595784, 169.019120397, -118.339915342, 230.252223257, -119.609538029, 161.715930189, -139.466635297, 189.947557989, -175.032829173, 157.200074191, -110.551952057, 182.474738001, -113.207819694, 168.407519954, -172.333541805, 204.087118203, -182.222870704, 159.642496519, -134.816409674, 241.828549276, -199.746587285, 155.576766672, -126.130481712, 223.946840052, -167.117598613, 193.357499371, -124.212578152, 217.613540475, -164.790817792, 196.622651426, -117.690730542, 221.743086972, -132.650655839, 217.806012566, -191.767035366, 204.215663733, -197.340348634, 185.196376233, -175.462762177, 174.534808164, -148.819891487, 191.371005234, -123.786000486, 172.652953024, -114.54556804, 213.939550956, -176.425299881, 165.447685118, -103.067996064, 211.303646098, -150, 200];