stress_history=[200, -172.091527879, 219.994967959, -169.717806983, 171.492229033, -104.348856706, 152.252196735, -126.56997985, 173.012025913, -171.473566443, 214.138898719, -125.978261006, 197.657925036, -112.094114065, 186.720301821, -173.527857197, 176.535347538, -112.315752277, 172.408510298, -141.596379629, 171.070962046, -131.364530164, 242.982571586, -143.530052112, 239.712621789, -132.346380954, 199.965977766, -171.226049224, 197.129957123, -108.163705547, 151.593041304, -164.645749739, 150.683783325, -143.753972596, 169.918202271, -128.59160113, 157.518388363, -117.602673706, 211.096876708, -169.768988049, 205.225525552, -139.76725681, 186.214098973, -184.178870447, 154.20193931, -189.463047119, 236.345178041, -140.445592697, 243.397735478, -135.252712367, 157.195395265, -161.030625469, 204.003882537, -192.633768709, 177.378215378, -186.555240363, 184.949729268, -166.583199538, 154.36635018, -105.488677251, 157.828732185, -174.906773427, 177.249630065, -163.784405762, 190.165831738, -164.5133039, 198.89818274, -132.482980019, 219.531496158, -110.253953291, 168.40853592, -162.38134933, 162.789969213, -124.017835948, 230.617779631, -172.903771885, 174.72281067, -173.622892464, 173.2080402, -116.577467189, 244.504503958, -199.333461001, 156.369082925, -168.654217688, 216.92429929, -166.966253235, 243.363569978, -133.956215807, 240.667796786, -184.50735169, 195.085272775, -195.73667919, 230.454342547, -182.869876537, 187.482390774, -140.962237113, 232.20593037, -101.900827811, 226.990106577, -114.554156112, 237.052633439, -175.493928718, 211.390531298, -137.766934165, 244.631953593, -154.28381272, 194.305705054, -136.458369651, 176.75672012, -102.535694817, 195.775273429, -100.160344754, 212.785088912, -141.695036827, 153.065641306, -132.785862531, 206.780008877, -159.544051608, 199.341542154, -178.280900367, 165.952120531, -112.761505881, 189.545584149, -141.531787002, 212.361299862, -169.741432642, 187.893101346, -116.795734339, 170.166838479, -153.767717329, 155.33303433, -164.1328202, 206.026478707, -118.222744638, 198.67463032, -129.096894247, 197.145306285, -133.592822011, 210.903925202, -125.684992149, 184.08946823, -171.848140918, 199.159776333, -141.01820999, 249.418751757, -164.277689383, 249.4422817, -153.730071408, 217.400717599, -140.59530231, 216.976339405, -143.063956575, 237.081814798, -194.164352248, 218.655702257, -182.352348088, 183.568702897, -122.829342215, 236.425397402, -120.943570281, 191.663998736, -192.517628265, 216.607432178, -162.602897318, 158.830346861, -190.233201765, 222.442298812, -123.45310649, 179.607159732, -110.625661936, 224.048235263, -140.681602941, 243.177101419, -170.74854701, 196.205467053, -170.11657712, 202.508929484, -167.168149234, 230.942958153, -124.935968604, 189.101933185, -106.044275631, 192.289878931, -110.375201795, 159.521797006, -157.749968388, 208.914508226, -181.100484912, 238.501031457, -189.010337227, 191.933032712, -180.639523319, 167.614647943, -198.406486437, 201.652345871, -143.074587981, 160.948819841, -150, 200];