Fix single-threaded N-body