* Backport std::make_unique from C++14. * Replace shared_ptr with unique_ptr for better performance. Co-authored-by: Ella <maxutong16@otcaix.iscas.ac.cn>