I reduced the modulus to 40, but there was an error on the other side at line 53: EvalBootstrap(): The degree [20] must be less than or equal to the correction factor [9]

CCParams parameters;

SecretKeyDist secretKeyDist = SPARSE_TERNARY;

parameters.SetSecretKeyDist(secretKeyDist);

parameters.SetSecurityLevel(HEStd_128_classic);

parameters.SetNumLargeDigits(3);

parameters.SetKeySwitchTechnique(HYBRID);

ScalingTechnique rescaleTech = FIXEDAUTO;

parameters.SetScalingModSize(40);

parameters.SetScalingTechnique(rescaleTech);

std::vector<uint32_t> levelBudget = {2, 2};

std::vector<uint32_t> bsgsDim = {0, 0};

uint32_t levelsAvailableAfterBootstrap = 8;

usint depth =levelsAvailableAfterBootstrap + FHECKKSRNS::GetBootstrapDepth(levelBudget, secretKeyDist);

parameters.SetMultiplicativeDepth(depth);