Explain the scope of the loop inside tessellate: (poly) =>