QuickUnion improvements.