Histogram: Use user-supplied range when possible