Set the unnecessary dimensions of the box in 1D or 2D to safe values to prevent unnecessary crashes due to lack of cells along this particular axis.