Substitute NEW for subtrees of TREE for which TEST is false.
(sb-impl::new sb-impl::test sb-impl::tree &key sb-impl::key)