Debug minimization of g.