Refactorings of RTree and encapsulating the search in bounding boxed trees to a separate module, incldued in both trees.