Simplify lines.