Create Slicing Algorithm