Clean up code. Limit number of threads created. Minor improvement in time cost.