Enabling the path compression of the weight quick union