Dsearch with threshold linear interpolation works!