Recursive part - done. + Perf. tests.