first
fixed issue #3. implemented circularity-aware walk-tree, but not used now.