dataIO,tree_lox and visualization adjusted