Add one case when lastchunk is encountered