refactor(bem.tree): removed unused code