Corrected upper bound for level.