Barnes-Hut algorithm applied