Fixed first and last histogram bin being only half populated.