temporarily disable unfinished externals inlining
Replacing distn2 by individual do_functions with .Call interface.