[Code] Changed MAX_INPUT_LENGTH to MIL