de boor algorithm working