Determination of the optimal cylindrical geometry heights for gamma-ray spectrometric analysis