Improved calculation of radii ratio.