Added a merge lines operation