support histogram intervals of type double