correct logic in should_merge?
filter out rulings with negative coordinates (don't know why that happens)
keep first and last separators if using lines