Consider the size of Q each time the minimum element is extracted.