updated iterator to return nodes instead of V values