Add Nfa.ComputePrimeGrids