cleaned up boundaries for histogram -- uses real min/max when buckets are derived