add reduce (Otherwise, it is too slow to read GSM file).