Added the ability to specify the map size