try to optimize multithread, why it isn't faster?