fixed compute size in sha1_chunk_prep process