fix up histogram intervals