//! Fills temporary_terms set, using reference counts
//! Compute temporary terms in this expression
/*! A node will be marked as a temporary term if it is referenced at least two times (i.e. has at least two parents), and has a computing cost (multiplied by reference count) greater to datatree.min_cost */