barnes-hut quadtree for charge repulsion