Email zadetek: Optimization of HPGe detector response using fast and reliable method