coalesce lines