Use mapreduce instead of list comprehensions to calculate max column length