make all power values between 0 and 255