Eliminated some redundant inner-loop recalculation of polygon vertices.