calculate time step