constrained_surface library