add reduce configuration.