refactor: binary tree traversal