Graph generation in ColoringProblem much more efficient.