adjusted length of simulation