add PathCompression of Union Find Set