important: fixes crash for use existing forest in case of not all data used at each level