stress_history=[200, -127.712833372, 203.84964758, -145.439861695, 165.218460098, -148.214920412, 213.050778443, -146.551731618, 158.244742177, -148.478578457, 160.727046569, -124.668239032, 171.636463924, -154.020616505, 182.585567916, -107.487209829, 185.990556499, -149.333624765, 183.05732195, -144.801952013, 218.499423327, -102.59405602, 243.276533146, -195.546156728, 171.557294372, -177.816642242, 171.882151783, -109.548741154, 152.431157104, -195.165470776, 228.741238371, -170.875094299, 233.839833575, -129.14838842, 201.469711555, -152.846896511, 176.823897928, -110.996877987, 244.551429944, -167.990973669, 160.550795051, -188.241339294, 171.507863631, -101.306985481, 168.546917721, -168.247883365, 222.585180083, -126.639724138, 201.112386187, -198.021642004, 163.222481876, -185.626109431, 187.926991034, -164.421337843, 154.69933948, -158.999190316, 214.420171225, -168.922897581, 241.197260276, -147.502857015, 150.589755543, -119.333015134, 154.886582314, -159.236597102, 228.820066142, -179.057266489, 232.98442439, -148.008619787, 176.694795022, -193.075193275, 223.209342958, -173.261974418, 185.924046408, -190.950360418, 151.192647533, -138.614476618, 183.20708648, -101.93220719, 219.872428819, -104.450468013, 179.719269665, -154.476222951, 153.927792735, -105.102937321, 194.77293925, -175.958077118, 194.523518384, -150.713819528, 214.590883259, -100.931441717, 214.609745387, -123.299053532, 243.649213818, -102.15294488, 196.151050396, -159.012791674, 232.562322717, -180.932220537, 196.760200494, -150.999154373, 217.223358993, -110.183219914, 154.876228244, -134.88855922, 242.644939619, -111.894932849, 229.369144991, -181.455944025, 204.663079885, -135.508648681, 189.26291728, -143.687337179, 177.511830481, -180.403180763, 197.885304621, -135.128133747, 246.024012835, -123.120046437, 173.465155953, -173.399644636, 233.066317576, -174.616628645, 164.353128979, -141.045005814, 208.905879939, -164.168006899, 160.461239595, -132.542615359, 214.012788768, -166.155671083, 201.631388237, -167.386739314, 224.615800175, -166.150702798, 198.678613864, -178.934039034, 203.864345979, -103.561423062, 208.019043176, -149.940337777, 202.742846931, -139.474659525, 206.589575877, -118.856478613, 208.218025193, -119.249930932, 207.083454376, -180.675526189, 223.751551861, -170.679009395, 177.505021723, -182.463120744, 201.273302553, -180.35254267, 223.996108471, -128.353276041, 237.556330632, -196.124727875, 203.21561768, -178.405024167, 212.34215325, -111.900400108, 157.806651178, -118.537078782, 216.463312097, -112.21220877, 236.833226671, -195.87754122, 205.547156624, -170.028146108, 170.186341612, -115.595219601, 218.810234448, -111.883520079, 179.521645115, -119.766661896, 220.850806391, -109.769112559, 177.719555033, -129.19632984, 188.582258058, -195.211733992, 240.672760695, -147.534270648, 202.256409258, -114.325766431, 243.148754276, -176.516407469, 208.605917337, -153.397342904, 202.414349626, -197.535676084, 241.573495432, -109.149828605, 192.313616217, -157.090609658, 243.999054392, -150, 200];