wrote get map size