Replace value with log2(value)