Auto-squashing spaces while joining lines