Refactor internal R-Tree methods.