export_tree: add used_chambers_mask branch