gen files with max value.
gen_results skip files to slow algorithms.