Fixed off-by-one in DecoderStack::decode_proc