support out of range slice