Mm - hmm.
So either you always have it compute all the posterior possibilities for all the values for all nodes , and then prune the ones you think that are irrelevant ,
Mmm.
or you just make a p @ @  a priori estimate of what you think might be relevant and query those.