add iterator to disjointset