solved the problem with time steps