** Optimized pair resolving on NodePairs class