Do not copy shared pointers when getting DecisionTreeHeurCalculator result