minor optimization for creating reduction message and data is empty, save the overhea...