148 auto shape_index = d_shape.rbegin();
149 auto index = d_indices.rbegin(), index_end = d_indices.rend();
151 unsigned int chunk_size = *shape_index++;
152 while (index != index_end) {
153 d_offset += chunk_size * *index++;
154 chunk_size *= *shape_index++;