hist: add uniform method