[unicode] remove the limitation of 16bit unicode
[unicode] save some memory in index by using 16bit unicode