implemented de Boor algorithm