pass chunks to callbacks by chunk number