Factorial generate change