use map_dimension