use slice button to toggle between slice points and slices
remove join and split commands
remove unneeded variable