Implemented hash partitioned reduce.