Giving up ternary search tries to store strings