Get rid of input_idx_t