QuickUnion implementations