# Why should the order of Chebyshev be less than 1006? I've seen this statement in two places

**URL:** <https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040>\
**Category:** Library Questions\
**Created:** [May 25, 2025, 3:59pm UTC](https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040 "2025-05-25T15:59:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![capibala](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@capibala](https://openfhe.discourse.group/u/capibala)\
**Post date:** [May 25, 2025, 3:59pm UTC](https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040/1 "2025-05-25T15:59:54Z")

</div>

Engorgio: An Arbitrary-Precision Unbounded-Size Hybrid  
Encrypted Database via Quantized Fully Homomorphic Encryption

And

> **[FHERMA | Fully Homomorphic Encryption (FHE) Challenges Platform](https://fherma.io/content/65de3f45bfa5f4ea4471701c)**
>
> FHERMA is a platform for Fully Homomorphic Encryption (FHE) challenges, jointly developed by Fair Math and the OpenFHE teams.

---

<div class="post-metadata">

**Author:** ![ypolyakov](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/ypolyakov/32/47_2.png) [@ypolyakov](https://openfhe.discourse.group/u/ypolyakov)\
**Post date:** [May 28, 2025, 3:49am UTC](https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040/2 "2025-05-28T03:49:25Z")

</div>

Because it is basically the last degree supported for a given multiplicative depth (11). See [openfhe-development/src/pke/examples/FUNCTION\_EVALUATION.md at main · openfheorg/openfhe-development · GitHub](https://github.com/openfheorg/openfhe-development/blob/main/src/pke/examples/FUNCTION_EVALUATION.md) for more information.

---

<div class="post-metadata">

**Author:** ![capibala](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@capibala](https://openfhe.discourse.group/u/capibala)\
**Post date:** [May 28, 2025, 8:48am UTC](https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040/3 "2025-05-28T08:48:40Z")

</div>

If the number of oder is greater than 2031, is it also okay to set the depth a bit larger?like 13 or 14？

---

<div class="post-metadata">

**Author:** ![andreea.alexandru](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/andreea.alexandru/32/378_2.png) [@andreea.alexandru](https://openfhe.discourse.group/u/andreea.alexandru)\
**Post date:** [May 28, 2025, 1:39pm UTC](https://openfhe.discourse.group/t/why-should-the-order-of-chebyshev-be-less-than-1006-ive-seen-this-statement-in-two-places/2040/4 "2025-05-28T13:39:43Z")

</div>

Yes, in principle you can set whatever degree you want, as long as the specified depth supports it. You just need to be careful to update the tables in [`ckksrns-utils.cpp`](https://github.com/openfheorg/openfhe-development/blob/main/src/pke/lib/scheme/ckksrns/ckksrns-utils.cpp#L112) if you plan to use the internal functions for a degree larger than 2031.
