Add automatic resize() to heap