Pass max-nonce as arg to each sha256 algo. Should be an equivalent transformation, with no behavior changes.