Implement "Octree.add" method.