fixed issue in split_poly leading to endless loop of splitting the same polygons by adding a step to check the areas of the split polygons