merge long lines