Simplify line collapse.