Rename loop bounds variables