This time, for each black node formula_14 we use the union-find's "find" operation (with the old label of formula_14) to find and assign formula_14 its new label (associated with the connected component of which formula_14 is part).