code: def test_make_grid_full_monthy():
      dims = np.random.randint(100, size=3) + 1
      subsampling = np.random.randint(5, size=3) + 1
      borders = np.minimum(
          (dims - 1) / 2, np.random.randint(10, size=3)
      )
      nvoxels = np.prod(
          np.array(
              [
                  reduced_dim(dims[i], subsampling[i], borders[i])
                  for i in range(3)
              ]
          )
      )
      _test_make_grid(dims, subsampling, borders, nvoxels)
  
imports: import warnings
  import nibabel
  import numpy
  import pytest
  from nibabel import io_orientation
  from numpy.testing import assert_array_almost_equal, assert_array_equal
  from ....None import load_image
  from ....core.image.image_spaces import make_xyz_image, xyz_affine
  from ....io.nibcompat import get_header
  from ....testing import funcfile
  from ...slicetiming.timefuncs import st_02413, st_42031, st_43210
  from ..affine import Rigid
  from ..groupwise_registration import FmriRealign4d, Image4d, Realign4d, Realign4dAlgorithm, SpaceRealign, SpaceTimeRealign, make_grid, resample4d
label_desc: Use image node_id 23 for calling a global function with example usage: test_make_grid_full_monthy() without return types