do affine estimate for range