binary and mid multiply 2