Performance boost by integrating the factorial expression inside the
unary one.