                           // Remove the extra merged tokens
                            for (let i = 1; i < length; i++) {
                                rawCopy.splice(rawIdx + 1, 1);
                            }
                        } else {
                            // No suffix: remove all merged tokens
                            for (let i = 0; i < length; i++) {
                                rawCopy.splice(rawIdx, 1);
                            }
                        }

                