Testing optimization of timestep lookup