NEW: check if same space
NEW: check if same space

Former-commit-id: 255d12619200cdea0d9890c4c664a95e4294aba9 [formerly ab2103a569a47b4e2556673fffb1dbfe24ee3c66]
Former-commit-id: 73a1b83816ba04aa93e639ec115eb0b2f84b48bb
Former-commit-id: a5f169fed5f200ff74b35d671b3be77fb312a509
neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox,neuropoly/spinalcordtoolbox