stress_history=[200, -103.122140897, 239.233477959, -154.25981664, 182.358908859, -146.004552797, 190.565972411, -109.273746452, 185.069920581, -152.508375392, 182.132992698, -129.341923199, 230.875254619, -197.685890293, 170.640438549, -121.112496398, 188.497828923, -154.490893878, 209.752138582, -138.831169306, 201.065479162, -186.121635921, 243.529989333, -118.533814371, 217.205797116, -162.192324359, 185.896208072, -129.393069547, 202.516192848, -147.402240811, 156.888489152, -143.615160784, 159.355996846, -173.894514246, 229.225949132, -181.934567686, 166.871667584, -187.561569118, 213.513587711, -159.672708481, 221.771580838, -150.597843646, 192.166351667, -110.871415071, 150.036334205, -112.964322814, 155.103894714, -110.744390035, 158.772567343, -136.589473833, 228.112755033, -163.750113184, 185.497952483, -147.053551786, 162.885002761, -169.98820094, 228.399716769, -157.889180375, 243.275548406, -138.829627837, 211.126389245, -150.013469524, 186.241075963, -165.060264773, 243.826652732, -138.903037205, 202.052805795, -184.316077428, 202.525679082, -161.961389014, 205.092313501, -192.536012423, 204.819671631, -140.986225467, 206.942914233, -171.207723894, 243.450365758, -107.983800701, 177.607300023, -109.152680626, 240.779861877, -175.148586531, 240.646139142, -130.642970574, 152.322398415, -145.624206473, 234.254606127, -181.677086847, 175.976315069, -188.694553114, 185.479669373, -107.074519128, 177.061711412, -142.25526897, 164.502939064, -199.465901863, 219.10162285, -142.968412803, 168.476400064, -174.93139267, 241.826530947, -170.471948932, 207.445740359, -155.611581579, 230.473197557, -179.097597547, 225.548183461, -167.507574855, 232.008329593, -117.168878542, 224.532678285, -192.337602197, 204.336957032, -122.492553631, 223.704371933, -180.761507706, 239.711907401, -117.693369706, 181.964998775, -103.218567912, 228.913100209, -163.389447623, 225.769737088, -124.936406373, 193.392410682, -194.360523298, 155.043676781, -161.641002648, 206.247706349, -174.450298442, 216.85302611, -192.882574683, 230.05100272, -161.705213942, 153.068690544, -110.368772951, 226.682405319, -150.852295835, 226.410579928, -127.717168653, 195.796824385, -174.153869504, 238.15432266, -147.241969625, 200.428243847, -102.346683925, 231.998029941, -167.183412959, 150.799357924, -166.99211544, 186.106323767, -105.24699898, 202.834541864, -173.536310586, 181.525449345, -152.337810645, 211.908284855, -127.644011313, 164.447899575, -111.693426433, 237.157922606, -105.151904948, 153.69402884, -148.522495873, 155.332864768, -175.086015654, 150.341181882, -150.582945968, 249.800395101, -154.391708732, 196.536595265, -137.787205257, 163.568397531, -111.464184254, 230.790333997, -156.330745194, 235.020963223, -149.896773755, 211.249925522, -100.067258279, 217.93563454, -189.156097426, 230.622632186, -191.079110141, 203.762230645, -173.062456133, 224.649939486, -159.149470899, 166.107307758, -104.75759557, 184.871269547, -112.908087835, 214.889456502, -159.471082988, 189.659968796, -149.046222876, 185.50264393, -150, 200];