add features to know depth, leave idxs and fix min samples to split