reduced branching

the code was redundant.
not sure about shift and then goto precedence.