For loop simplification in the benchmarks