beta_nth done.