An Octree implementation in Python [1]