Modified batch set iteration