We sample f at k nodes xi and rebuild it everywhere. Drag a sample vertically to perturb one yi and watch how far the change travels. Switch the nodes from equispaced to Chebyshev to tame the wiggles of the global polynomial.