made new implementation the nominal PrefixTree and removed previous
version which was unused anyway.