implementing hard spatial distance cutoff in frame_interp
's patch dist