Invoke the Computation by Script

Calling root() from compute(), then invoke compute() will greatly
improve the speed