avoid duplicate intersecting ways, self-duplicating ways, intersections with contiguous ways