# How can i do levelreduce explicitly while using flexibleauto mode

**URL:** <https://openfhe.discourse.group/t/how-can-i-do-levelreduce-explicitly-while-using-flexibleauto-mode/1687>\
**Category:** Library Questions\
**Created:** [November 3, 2024, 3:42pm UTC](https://openfhe.discourse.group/t/how-can-i-do-levelreduce-explicitly-while-using-flexibleauto-mode/1687 "2024-11-03T15:42:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [November 6, 2024, 5:07pm UTC](https://openfhe.discourse.group/t/how-can-i-do-levelreduce-explicitly-while-using-flexibleauto-mode/1687/2 "2024-11-06T17:07:08Z")

</div>

You can use LevelReduceInternalInPlace and ModReduceInternalInPlace, but if you are asking about aligning the scaling factors from the different levels, then indeed you can look at how it is done in AdjustCiphertext, explained in your other question [How does function AdjustCiphertext work?](https://openfhe.discourse.group/t/how-does-function-adjustciphertext-work/1695).

---

_[View the full topic](https://openfhe.discourse.group/t/how-can-i-do-levelreduce-explicitly-while-using-flexibleauto-mode/1687)._
