On the Cornaz-Jost transformation to solve the graph coloring problem