Update trie.py

Adjust the step_size when check a new base for a node