Optimizer Consolidates Scene Headings