Just finished to make cpp extention library to speed up.