Make the slicing syntax work like python slicing