This adds a remainder function to the Slice iterator, so that a caller can access unused elements if iteration stops.