(in which case, the algorithm resorts to voting)