underOvercorrect calculation function and test all seems to work