rename polygonSides2 to polygonEdges2