Adding a functionality to analyse maximal change of error