Replaced the LexerDfaGraph implementation with an implementation which is more efficient for our access patterns.