further reduction of local memory use in keccak code