iteration index added

this class is needed to iterate over batches of cards of arbitrary size