On reduce method, the IntWritable doc id was simplified in their creation.
code organizing