Use decoding parameter instead of hand-rolling.