Array size of PriorityQueue will be incremented whenever the max capacity is reached