Minor changes to ans_hist