expand the length of tree and memsize
change the size of mem and map again
delete add_log
fixbug:free():invalid next size (fast)
fixbug:function in tree.c and data.c not controlled by debug macro
two lines notes