Made slowest part of parser generator faster, from 18 to 8 seconds