Made barneshut_aux non-recursive