Calculation of steps. Trie modifications.
Exception from NextNode still missing