Add resizing to hmap