Set the expected max size for maps.