Creaation of slicing tree (not tested)