added support for recursive branches
added stubs for slicing algorithms