Using in is slow.
Use cardinal.
Merge pull request #1035 from ESwordTheCat/riW3nfAj

Using in is slow.