Merges OptimisedVPTree with VPTree.