Cleaning up long lines