removing the boundedPriorityQueue which was never used