Splitted grid bug

When generating the splitted grid, its generated on the wrong axis.

wrong_axis