incorporating specialized algorithms into general inference procedures set 2 148122