Compress the map