var dataforThread1: seq[int] = data[0..100] var dataforThread2: seq[int] = data[101..200] ... # for example