Generic octree class
Various stuff