Slice now has member variable whole, no need to manage it externally.