Almost figured out optimal token parsing. See program.cs for example