[1]finish the transfer(using huffman)