added change to optimize GOMAXPROCS