handle space specification correctly

if 'space' is specified 'space dimension' can not. See
http://teem.sourceforge.net/nrrd/format.html#space