fix: ensure the correct size of offset_mm voxelsize_mm