timing of n-gamma calculation