Revert "bad version of CStimDetectShift"

This reverts commit b87e4f719e549fa63c49cc5fd8a4a1e31bc89835.