added SizedTree
improved the package structure