3d correction to timestep