Fixed iterator problem with Tries, now they're working much better but require extensive unit testing