make set_stress_regions() more robust with bad ranges
update set_stress_regions() for decreasing strain cycles - new up argument