perform pre-coloring operation.