struct TextGrid is replacing linearize2d