       alignedRaw.push(...ref.slice(j1, j2));
                    } else {
                        const alignedPart = alignRawTokensByRef(raw.slice(i1, i2), ref.slice(j1, j2));
                        alignedRaw.push(...alignedPart);
                    }
                } else if (tag == 'delete') {
                    alignedRaw.push(...raw.slice(i1, i2));
                }
            }
            return alignedRaw;
        }


        // Aligns rawList tokens to refList
        // by merging consecuti