Added last chunk feature.