boolean bug;
for (int chunk = 0; chunk <= currentC; chunk++) {
int to = (chunk == currentC ? currentI : CHUNK_SIZE);
for (int cell = 0; cell < to; cell++) {
IntVar var = varChunks[chunk][cell];
IEventType etype = masChunks[chunk][cell];
ICause cause = cauChunks[chunk][cell];
int one = val1Chunks[chunk][cell];
int two = val2Chunks[chunk][cell];
int three = val3Chunks[chunk][cell];