Fixed duplicate pts and short polygons