pow5mult
bs = pow5mult(bs, bb5);
bd = pow5mult(bd, bd5);
mhi = pow5mult(mhi, m5);
b = pow5mult(b, j);
b = pow5mult(b, b5);
S = pow5mult(S, s5);