Convert the 2-dim-array in the map to a 1-dim-array