Local Adaptive Optimization of Timestep