Small change to the statemachine for it to calculate CRCs on the fly