Enhanced nesting and coloring