add marginal estimation for BP and TRBP