rounding numcpus to next power of 2