setting the shift vector to TSFOutput after cropping
removed unnecessary TSFOutput allocation