reduce two-round mapreduce to one round