Often we find a delicate trade-off between the fit of the minimum, which we want to capture very well, and the repulsive wall, which we want to capture but to a lesser degree of accuracy. Based on the least-square fitting however, any error in the steep wall will be huge, often completely killing the accuracy of the minimum. A proposed solution now is to fix the c-coefficients for a region beyond a certrain threshold, say 2 eV and to do a secondary fit for the steep wall while keeping the other c-coefficients fixed. Code-wise this can be done by using the aa*x=bb constraint, found in the objective.py file, and setting the aa coefficients to be 1 for the intervals that have previously been fitted, and zero for the ones before while setting the c-coefficients in the bb part.