try and failing to make lex faster...
make it so we can not have features on the rules.
make distance binner cache distances for small distances, rather than binary search.
cache split point features too
fixed a stupid bug in lex.