Add one case when lastChunk is encountered