A quadtree-like structure of arbitrary arity