small quark_keccak optimization