Strided and dense indexing