Changed bilinear interpolation