Encoding using tables initial without merging code tables