Use multithreading to computing.

Signed-off-by: yushijinhun <yushijinhun@gmail.com>