Function for setting the MAX_TIME_STEPS parameter