Added get shape to index iterators