simulation works, but only for small time steps