WIP: native string grouping
lcs: Use column-major indexing