Problem with surface sub-divisions with set distances using 2d domains

Hello I need some help with how subvisions are organised when using the isotrim compnent with a 2d domain of specified steps.

In my case I have two basic boxes where I isolate the sides to ultimately project a facade module of a specific size. When I create the 2d domain for the isotrim I graft the U values with V values to make the grid, but there are faces that don’t return the right UV grid. In the linked file you can see the bottom box works well but the top one has a problem with its subdivisions.

Thank you!! (20.3 KB)