Path compression on quick find