quick find for union find