optional configuration for generating histogram