reverted back to iterating over all nonterminals; changed the way in which we store children. is ostensibly working. now going to try to run with a single gig.