Inlining parallel factorial function