mis implemented for coloring with 1 iteration.