minHeapSize added