In progress: octree traversal code.