Fix bug on compression detection when chunck < 10bytes