fix bug with sizing of bars when interval > 1ms