Junction tree and out of clique queries completed.