(NodeFinder) Fixes internal data structures to use pointers where applicable to prevent memory leaks and speed up execution time in certain situations
(NodeFinder) rebuildIndex method now complete (but not tested)