Use loop style for const benchmark