completed factorial, removed stream-for-n-steps