fixed gap with dynamic time step