Factor out the multiply analysis code in ComputeMaskedBits and apply it to the