add minimum room size
fixed under-indexing in append_to_map_array