Implemented slicing of the movement