small map_reduce tweak