This function allows the user to check overlapping elements that share two or more edges. If there are overlapping elements, the user can include these elements in a new part.