Ensures that in a polygon layer dont overlaps two polygons.