Intervals along polygons border implemented