have dynamic cost coloring