Degeneracy in the algorithm