Changing NodeVector to NodeSet