Initialize the ND_BOX in the last argument with a spatiotemporal box.
The function asumes that the x, y, and z dimensions of the box exist. This is to be ensured by the calling function.