added MC shift calculation