eliminate loop vars even if used after increment, by adding another helper (which has less overhead than the previous helper)