split to lzw and com module