add bat for build dict
opt for dict_mgr global index