Analytical correction to the WKB quantization condition for the highest levels in a molecular potential