avoid repeated offsets in joined lines