stress_history=[200, -177.506370951, 189.892065731, -185.842930493, 153.98958035, -171.045063723, 187.696566378, -171.523558809, 151.878938788, -189.193670161, 195.272031583, -123.796129718, 162.489369899, -175.675377043, 199.729044745, -117.349404288, 207.179841183, -131.494462343, 228.717243563, -158.921626786, 161.046623276, -132.608430127, 240.468368289, -162.373932207, 210.415653947, -142.340508072, 165.048503534, -133.56439251, 228.130879219, -189.161003802, 233.145919504, -158.038112359, 225.006658856, -158.619965863, 216.291046988, -150.572960724, 190.817660283, -183.366098444, 214.505751827, -177.662160663, 200.433933604, -156.173709027, 248.62552019, -170.766048676, 190.070940854, -190.817536469, 163.443455864, -173.162523388, 248.788134593, -162.826636509, 167.694749317, -178.742815383, 197.081029839, -143.071589667, 198.515814028, -101.122345348, 241.35175974, -188.587156265, 228.677819845, -141.237850506, 205.405646273, -179.7716243, 180.90149309, -152.437826095, 227.685676221, -179.042429675, 225.255669186, -159.385301083, 240.828017991, -173.350339027, 212.043167054, -118.310502426, 213.79087943, -116.609410744, 179.951728489, -113.34707241, 185.67451651, -190.450614432, 245.949272506, -178.04079256, 156.403796358, -181.46930372, 168.168357059, -155.537084478, 213.015623156, -123.375098452, 180.498660626, -131.288269513, 161.411250647, -137.014580683, 220.404591603, -188.887583883, 221.140943607, -160.612405499, 245.163670128, -116.672737526, 208.207621594, -129.884677609, 186.447377228, -101.941496413, 168.812705937, -170.235962914, 181.955213689, -171.798548563, 197.959877797, -135.67600441, 156.638857922, -190.503809151, 168.310663888, -195.554361659, 187.982954415, -148.651935056, 188.295787181, -154.830813388, 188.042308955, -138.567155916, 196.42858707, -171.381801248, 239.097373875, -154.196048077, 185.268061677, -169.843700415, 243.626472983, -179.247521616, 228.42595786, -180.49233461, 188.337183867, -119.261667224, 179.804301198, -177.081700803, 221.033235116, -125.498618214, 164.423791113, -112.221013884, 236.970658662, -149.092214455, 211.411285856, -150.369885593, 247.547921751, -149.397947263, 236.317153741, -184.997618002, 190.625267603, -149.830345796, 187.244429759, -182.522899948, 230.329220655, -165.688579957, 215.127126848, -138.576257292, 151.405548214, -176.127111086, 199.970631957, -186.53850551, 215.852732916, -100.064353558, 229.748559097, -160.525851542, 175.048193261, -197.404175349, 222.037211328, -144.353319587, 206.259958408, -111.449291376, 165.523198896, -160.031470882, 225.706156214, -196.326782065, 161.277898517, -136.171908213, 240.15344428, -136.893398627, 189.589233509, -115.108510696, 232.765604931, -186.718307021, 230.992908996, -161.668602938, 157.059435661, -112.508224288, 224.770560443, -104.525036073, 244.533725113, -101.149627722, 240.688493429, -198.203030127, 211.737347988, -141.357639979, 215.798431167, -127.994163928, 226.933811494, -196.512380474, 162.632027532, -102.730121877, 157.559951346, -106.315356602, 244.294536558, -150, 200];