fixed how the shading of bins is calculated to allow to a few extreme values