Use runtime.NumCPU() to get number of CPUs instead of setting a constant.