public void setLcLpPb(int lc, int lp, int pb) {
        if (
                lp < 0 || lp > Base.kNumLitPosStatesBitsEncodingMax ||
                        lc < 0 || lc > Base.kNumLitContextBitsMax ||
                        pb < 0 || pb > Base.kNumPosStatesBitsEncodingMax) {
            return;
        }
        _numLiteralPosStateBits = lp;
        _numLiteralContextBits = lc;
        _posStateBits = pb;
        _posStateMask = ((1) << _posStateBits) - 1;
    }