WIP specialized data structure to compute char groups