fix optimization coloring to be useful