Updated to minimize memory and streamline the use of default.
Now trees that are built through any means (in PrefixTree various
methods) should correctly use null for default when they are built from
a tree that indeed has no default.