Iterative Forward Search Algorithm (root package)