Change variable name length in a loop for