add square-tree