modify next_fold argument order to be more in line with create_partition
update create_partition doc
make spec_freq_average respect 3rd index