add quick find and quick union.