Polygon Max Solution