2013-08-01 : del some old codes, add tree version