more range-checking in slice view