resizing pq internal array