Modeling the limited degree of starch gelatinization