Join some lines