include cpp's execution_policy.h instead of memory.h inside TBB's reduce_by_key implementation.