Finished coding an attraction-repulsion b-tree