Added semi-fixed timestep