There should be a warning that is printed (or even a stop) if the volume's density is larger than the box size.