Changes the auto generated grid system to a cube

Changes the generated plane grid into a auto generated cube grid.