floor(log2(n)) for 1 to 127