dynamic timestep-size completed, dbugging.