Text this: Optimal generator matrix G