Fixed precalculations for step-by-step decoding