The assert check to make sure all of the arrays in `input_args` comes after this for-loop, but this loop implicitly assumes this requirement.