Improving CONTACT for varying timesteps