Use reduce instead of mapconcat.