Avoid key setup at decoding time and do it once when reading it from
the mdb file instead. This saves a lot of non neccessary key setups
which are time consuming.