Bug 1102228 - Improve the data cycling routine

to divide the target dataset in chunks