setup a map with the right size