Eager Union-Find Algorithm for graph node search