Switch flow tree to owned pointers