reset memory when time-scale changes