Rewrite BHR mapreduce to use combine function