Polygon size calculation