Stable method for the calculation of partition functions in the superconfiguration approach.