halign auto simplification