fix allocation of precedence
configurable bitwidth for precedence domain