BUG: antsMotionCorr.cxx:1384: warning: array subscript is above array bounds