Add simple change to the weighted quick union algo.