Call reserve() for maps