Update NewPolyGrid.cpp