improvement of reliability of treecast method