Use trie for member storage rather than hashmap (big increase in performance)