stress_history=[200, -129.529285516, 243.547545925, -124.463035859, 208.105511239, -198.616611821, 212.503238998, -101.91408267, 212.854072973, -174.263521333, 159.565335302, -105.79015701, 212.809310513, -186.487147257, 245.201163371, -163.294035418, 203.957303433, -121.328433135, 207.962889402, -103.026593592, 185.591814082, -148.823474427, 186.882911724, -173.169387263, 188.035419453, -192.989331415, 248.583894298, -193.665584137, 220.958609076, -136.12759141, 243.22670714, -181.298858746, 232.788497442, -183.876851377, 191.408933608, -159.975375392, 233.159632865, -169.806452108, 152.769642976, -130.796487232, 189.93436308, -160.591925967, 185.019708565, -170.438379386, 229.33032991, -184.575825556, 204.770146507, -123.168574121, 158.91506409, -112.512801848, 227.046236355, -145.158584851, 246.528920455, -141.395339194, 161.229682075, -174.095040519, 239.040280542, -146.055520093, 166.224693888, -123.238453259, 166.013675031, -136.438845561, 166.314859808, -119.113024715, 190.722780569, -143.940592883, 183.960481356, -166.667818721, 213.594860543, -138.337111547, 194.412433845, -177.993323505, 189.590265138, -158.821968476, 214.810576285, -138.412157998, 237.314236994, -156.961480216, 162.382167127, -137.193168975, 190.992043845, -161.031518752, 211.690759522, -149.077871374, 192.318157207, -103.562836548, 197.263601882, -133.39474112, 184.193379631, -138.502080135, 206.430933494, -145.860399012, 201.540225177, -107.518880577, 201.162062076, -167.871835034, 184.127131207, -192.527909043, 155.788064894, -164.593474791, 161.433764594, -196.365836691, 242.393259599, -180.744316701, 240.658328738, -109.399560976, 155.341245744, -119.641401408, 216.531618848, -104.546968359, 192.029904735, -122.763983655, 166.185048351, -123.284355069, 222.193253575, -155.596669379, 156.525449922, -138.739239424, 235.248697769, -173.710343039, 201.2744331, -164.25831972, 186.785481602, -168.894671489, 164.942325992, -165.632781271, 211.030446583, -195.554057676, 152.474348835, -190.574151552, 235.261323953, -121.882854871, 162.983196958, -181.564703835, 192.869317872, -183.231645102, 163.430953493, -180.446619991, 249.267652314, -134.619111056, 156.912854543, -135.82180778, 204.293036858, -170.300551468, 243.462844901, -155.7170027, 243.233635003, -100.90455458, 239.641706292, -143.094649206, 172.580441249, -188.977632677, 169.51446478, -142.591841261, 206.640581594, -192.469615505, 199.662633855, -135.991183538, 211.882293178, -130.871893067, 187.285725297, -139.610701157, 241.50709624, -196.276544056, 222.803144126, -125.032605197, 234.439905964, -132.414164104, 244.139552653, -105.297594529, 163.110242495, -173.084730672, 151.029488243, -171.130649596, 249.980730517, -120.8831446, 167.108809183, -168.329667577, 158.916053846, -118.297549578, 199.34685051, -123.315799009, 197.559971511, -143.928632437, 215.258973342, -178.743229601, 226.83420721, -118.686024153, 156.663835716, -158.257302562, 216.050281247, -193.993783633, 194.171717006, -157.992578023, 152.873441418, -130.169349577, 226.680116975, -150, 200];