Possible fix for infinite bissect in Barnes-Hut simulation