Octree implemented but not tested yet.