bnge_get_tpa_agg
agg = bnge_get_tpa_agg(bn, rxr, idx, i);
agg = bnge_get_tpa_agg(bn, rxr, idx, start + i);