More work on DAWG tree

Forward (prefix) optimization more or less done; next step is backward
(suffix) optimization