dynamic range optimization