factorial evaluation diagram