use grid finding. use cubic interpolation