newpow2 = lambda x : 2 ** int(math.ceil(math.log(x, 2))