Not copying data into nifti_image when not needed