Minor fixes on Barnes Hut