plot f(x) = max(1, floor(x / 128)) * x from 0 to 1024