Use the max_hashes variable to increment nonce only in dynamic mode and use the all time highest value.