update to disjoint-set.h