adding max delta time option
2.4.0