[MAC] implement new tree filter API (not functional)