stress_history=[200, -130.125889913, 153.096446424, -190.487330332, 183.320097232, -190.184817239, 206.153734851, -192.691928592, 208.406912369, -117.595177752, 220.00013682, -108.971733291, 193.4207556, -139.617917119, 201.047096718, -155.803912762, 154.878377415, -129.849559813, 159.299298556, -147.993670434, 154.481397026, -177.802229882, 181.351749231, -122.97252561, 185.224654025, -167.814583203, 241.818044146, -194.565320533, 154.624687301, -154.850443554, 249.953204068, -168.415217251, 235.608757453, -102.513756447, 192.866677004, -163.324190904, 153.011002821, -191.733915866, 178.906883292, -152.211880783, 183.568530433, -102.408102752, 196.362793016, -108.210813874, 217.813721009, -101.107000837, 175.17743721, -113.037957318, 193.205964935, -175.938845314, 171.764154251, -162.375552208, 232.836477538, -177.424733262, 196.665251887, -194.554169356, 165.746062175, -189.206193843, 214.91269088, -147.876994906, 197.889835418, -186.980403597, 169.940122273, -192.604313303, 179.922980092, -152.099595402, 194.722576328, -105.774834966, 241.767803297, -179.092544871, 220.409569691, -184.529637509, 205.946447763, -151.620151256, 221.866700428, -195.670519185, 185.744138596, -128.881111882, 217.918526439, -121.671309609, 239.180031623, -154.757252334, 214.132797303, -198.764546429, 209.271979983, -172.725427404, 158.966040873, -163.230499391, 209.356508786, -152.344418396, 159.479988488, -172.06150386, 207.536340405, -117.216304196, 159.01814318, -137.138156663, 154.390108266, -198.900264903, 206.833300662, -192.872908844, 177.072524688, -107.264457719, 160.710448729, -183.069241167, 249.452060946, -190.853781738, 155.507718085, -188.873060556, 200.307003612, -172.787679556, 241.313572541, -105.3695421, 214.348746088, -166.561661547, 167.698658012, -171.981360743, 163.979413738, -146.461486491, 168.030162978, -148.078226706, 156.829511616, -159.605937429, 199.08138776, -115.264604047, 236.85899347, -114.280670896, 152.213460395, -156.75506248, 171.446449106, -129.296333649, 244.617988959, -189.68034332, 193.280641834, -111.38814104, 185.859516599, -105.108176653, 177.452402, -197.391364194, 199.023037447, -185.50214521, 235.634661058, -139.85354408, 212.110124632, -172.711495023, 175.724183642, -142.360970089, 168.947003982, -177.366287282, 248.803386896, -139.3200328, 171.190050664, -126.219911276, 177.60133957, -194.244779814, 237.789020062, -120.26171673, 151.961198491, -111.116887023, 171.421011305, -132.261142726, 188.13256329, -140.175995535, 170.261891549, -169.230809326, 205.229786607, -150.358537343, 173.360414282, -119.060953363, 186.696318597, -197.313789385, 243.756797231, -117.219296375, 197.024084434, -143.300201687, 235.101714451, -191.903944296, 219.592537954, -189.335733244, 197.273864338, -194.897000888, 207.156104831, -141.159096969, 153.608812378, -154.787497449, 228.980301018, -151.828615539, 170.768384477, -137.615942973, 227.412907098, -156.658844055, 180.398337274, -197.11144761, 177.175072892, -171.835979958, 174.606079724, -180.671987225, 211.16870854, -150, 200];