achieve the evaluateCompoundnode
revise the bug of do not declare before using it