make a hamming window for two chunks