makeValues and makeFactors for FoldLeft