quick union and weighted quick union