Then, a series of iterations is performed to merge the clusters.
at each iteration the algorithm analyzes each node s in random order and assigns it to the majority class among those associated with its neighbors.