hashmap resize with vector