Run in reduce.