Determination of the ionic radii by means of the kohn-sham potential: Identification of the chemical potential