Extract code that removes patricia trie table