Finished step 1 (hashMapFreq), started step 3 (hm -> PQ)