A quadric programming efficient numerical solution provides real-time results.
The said tenons and tenon holes could be quadric, trapezoid, circular, oval and trapezoid with arcs.