Fig. 3 Use the rails to layout the mortise position on the legs_resize