stress_history=[200, -126.816604544, 232.285848796, -189.355685441, 237.529091125, -176.098944026, 243.008445685, -132.70710136, 243.846111362, -120.15757704, 234.11944399, -141.175680402, 196.683617286, -186.614850909, 158.967219254, -152.616061279, 165.763184501, -146.126642984, 236.084478424, -121.078568845, 162.308021705, -164.69809915, 152.257992524, -130.506887498, 163.966865195, -151.175086489, 220.201417554, -152.610491838, 206.251045605, -161.25126098, 162.778708828, -159.067746122, 222.654028609, -153.620383068, 185.493436186, -149.475791211, 228.838823031, -134.333320624, 179.380156182, -127.775166272, 153.577519647, -126.495485297, 165.719240797, -198.512047083, 212.081607886, -117.620117948, 156.314397914, -134.864933146, 238.559730417, -130.747256981, 193.187044987, -107.254424001, 207.69840759, -177.608450903, 243.064777519, -151.426601017, 180.460054665, -100.818185014, 245.250958438, -126.932900216, 151.053763833, -142.069221472, 169.992613952, -140.352567041, 218.843411575, -170.641968865, 203.412059014, -137.52399971, 240.478786086, -189.903663072, 219.198339329, -167.020022146, 156.167674041, -116.940927689, 195.983755968, -195.071445828, 197.68293103, -121.15476344, 177.875079165, -107.568701484, 153.219897028, -133.095279994, 168.858159911, -118.204002662, 193.574524398, -153.851051533, 238.281547114, -149.751740933, 201.786923813, -120.750559309, 196.602644839, -106.645304743, 248.010810344, -179.493520686, 231.886001643, -161.036056277, 163.558062813, -196.791265377, 229.488896075, -110.783148571, 218.205227526, -141.824094472, 155.266548646, -125.914417025, 227.696261516, -114.345837782, 215.191326713, -108.492491401, 198.038134819, -175.583354113, 211.239616186, -159.58243909, 212.438892445, -172.935435442, 205.211622961, -181.413558578, 159.561196947, -101.648473768, 169.164686043, -140.174652269, 229.40413163, -122.585267766, 210.805930066, -109.325219128, 163.100399046, -160.313421698, 235.907016625, -160.505188001, 249.56538272, -113.607428034, 180.490142329, -171.009850108, 167.610284639, -132.610093678, 217.198667484, -193.397680719, 206.161689155, -188.979103154, 245.04209962, -171.77948757, 208.679216906, -162.994157267, 179.067680781, -162.551990528, 235.700813941, -115.152369896, 185.039577286, -115.774240457, 205.839095097, -145.871996129, 220.466214373, -152.35050403, 163.229726008, -176.30290687, 211.150052459, -161.016910133, 184.799176837, -123.163541686, 156.010523681, -155.0433616, 194.908549557, -175.142720308, 248.89523553, -183.599005193, 201.553178007, -181.271858802, 195.429410672, -103.0358834, 188.104824084, -142.931063261, 174.153667494, -188.877851385, 221.647099725, -175.130001516, 214.086976587, -185.831297063, 247.717964868, -191.962217212, 190.097687973, -184.33118823, 162.684609292, -135.659312262, 175.273717166, -128.859678502, 220.176841271, -149.127584174, 192.427654571, -196.371446134, 187.025113099, -167.183853253, 169.202357556, -102.277355528, 154.635628462, -165.054345919, 238.216529462, -109.170140229, 201.603418378, -150, 200];