In very specific cases, during intersection testing, `intersect` can add polygons already checked as duplicates in the buffer that corresponds to the rest of polygons that can form groups of duplicates. As the buffer cannot have repeated indices, re-adding, even temporarily, these duplicates can cause a buffer overflow. While this may have some impact on performance, it's difficult to predict these cases and thus add a buffer pad. So the solution is to check if they are already duplicated.