added floor to timestep resolution