removed bugs of slicing tree construction