half-hanning envdet method