Maybe a better name than pq, like mergeHeap