Improving map reduce