Import update!
Optimize code. Fix bug caused by duplicate items

Duplicate items:
Duplicate items will make count tree much different, causing get_cut() return null.
Now I understand why Terrovitis remove duplciate items during reading data.