Use two UnionFinds to fix the backwash issue