also failed when T was not a multiple of dt