The increase in the number of states aggravates sparse-data problems.
we implemented another variant (v2) which uses the same set of states (with A and N flags), but with the transition probabilities of the original model, which did not enforce the constraints.