Switched back most common match.

Speed is now pretty good, no output implemented.