Some Aspects of the calculation of Balmer lines in the sun and stars