This MR add checks during the computation of the different best fits, ensuring that the computation stop if something unexpected happens during the processing.
Closes SUS-2413