Slicing with given number