Image: nextRectLevel does brutal rounding. replace by downscalePowerOfTwo