Fix the limits of the loop that reads command line arguments