Changed a MIN() to a MAX() when setting max_map_size.