chore(bem.tree): extract level from path