Tried implementing dynamic dt computations, not working