Fill in some more BG shifter logic.