stress_history=[200, -117.068238198, 232.613994689, -159.702945404, 202.484569229, -185.37534214, 212.640208967, -135.571843677, 214.455704169, -172.978240966, 186.219380905, -127.908519682, 178.233644091, -105.974923311, 193.986040536, -179.384343171, 220.305696434, -139.709442318, 230.42642049, -124.228937017, 178.653631532, -143.600509994, 215.433240887, -110.162808561, 238.56630946, -114.284662079, 167.96097583, -193.065006072, 199.932195806, -105.274238117, 233.058158415, -143.5197916, 186.23560694, -145.095327286, 171.317950991, -169.360275414, 240.707046696, -119.446789276, 248.497055907, -138.256863075, 177.442328189, -149.382110092, 246.741019197, -197.667800087, 236.870601077, -135.043795673, 211.958291708, -193.608395611, 158.656506116, -148.233752557, 167.203318423, -133.68688935, 162.513005194, -131.407371226, 195.36148045, -161.664568518, 184.657728169, -156.473907847, 159.303281759, -163.463060781, 200.052755403, -192.972071502, 165.563920287, -179.324744077, 197.749769318, -163.995092889, 199.635040867, -112.22095067, 249.017434697, -163.612133132, 219.196006896, -118.287996465, 243.359312816, -155.965878831, 171.764716277, -102.93078568, 168.54220162, -118.794264037, 203.851874183, -115.474983212, 207.84896352, -135.369231409, 184.359294629, -137.857415741, 212.781577599, -151.978778104, 165.309042101, -154.036422564, 162.603951249, -165.605172706, 222.270739889, -131.735889391, 153.065335329, -180.524250975, 212.215791844, -136.649346924, 167.021635191, -128.546716126, 246.761663232, -173.968313511, 233.728344198, -193.331768193, 214.846725712, -107.911429902, 212.753355937, -192.626776675, 249.310555775, -107.914472655, 157.017967256, -100.801442537, 178.958790373, -159.247907825, 169.603099037, -102.173389698, 153.856735408, -162.447171753, 203.947307446, -114.096475457, 151.128616293, -109.769164925, 189.330566791, -164.180814753, 188.265175665, -128.929609972, 222.911633037, -120.80888968, 203.688786796, -195.369392792, 248.841292444, -175.436600493, 190.29841614, -117.330840849, 248.984696341, -191.511308453, 154.737593563, -131.911230787, 205.743983633, -129.093050231, 196.099180664, -145.356172946, 182.689500199, -118.856713981, 173.194425637, -186.652393068, 183.968907509, -101.119102761, 242.869006461, -127.580049358, 198.060101654, -185.855059888, 170.329180665, -102.799186028, 163.055619707, -112.508484593, 176.905767531, -164.79122778, 166.595037886, -117.096887682, 216.973526803, -126.30852722, 212.614469058, -114.814616861, 208.251290362, -180.703561812, 195.932468078, -131.414051755, 195.025839815, -101.530450384, 236.233726062, -118.109594951, 152.588409827, -123.544190541, 193.325159179, -101.33980032, 191.669391205, -169.905845525, 172.223539514, -175.937837597, 180.016104056, -141.643018251, 165.761573473, -142.057212579, 176.490507164, -149.066722585, 199.596383507, -153.088165877, 218.581451612, -194.408962327, 157.930749351, -172.756064399, 239.771288256, -128.13588384, 231.437813171, -136.337862829, 165.206658886, -121.473446603, 237.082721781, -150, 200];