Did you consider using itertools.izip rather than indexing?