Wrong behaviuor when overlapping poles while doing inbetween
Fixed some acute edge cases