This paper examines the effects of overgrowth on the properties of p-n-junctions in heterostructures, focusing on the distribution of dopant concentrations. It outlines various methods to enhance the sharpness of these junctions, such as near-surficial annealing, high doping, and the use of mechanical stress during manufacturing. The study models the spatio-temporal distribution of dopants through mathematical equations, providing insights into optimizing integrated circuit production.