debugging poly mesh generation