add if prev end == next start