Add vocab length define to newdb.