Now, if the priority queue has more than M items because we inserted that one, then we want to delete the smallest one there and that way, we're keeping track of the largest M. Whenever we get a new one, then we throw away the smallest one that's there. 