Cutting the tenon to fit the mortise