optimization

4.39 for 8 threads