IsMatch
#define IsRep (IsMatch + (kNumStates << kNumPosBitsMax))
prob = probs + IsMatch + (state << kNumPosBitsMax) + posState;