Limit the number of ticks.