dealing with nbody time == 0.0 bug