forgot minlower in calculation