Fig. 5 Determining the length of the tenon from the width of the leg_resize