Moving size property calculations to TrieMap.

Still to do: remove size property from nodes; replace it with three value logic.