explicit set is_leaf_ flag