Uniform Grid Mapping

Hi, I’m trying to map a grid on my polysurface, I need all the panels to be the same size, it seems like it’s working except on the part that I mark in black, does anyone know how to solve this? Thanks.

Grid.3dm (151.4 KB) Grid.gh (5.0 KB)

You project a the division of a horizontal surface on a vertical surface that why that doesn’t work
You should use “divide surface” I think