Collapse some lines.