remove reduce() again, because it is too slow.