If $A$ and $B$ are both made of wood and are $\frac{3}{8}$ in. thick, determine to the nearest $\frac{1}{4}$ in. the smallest dimension $h$ of the vertical segment so that it does not fail in shear. The allowable shear stress for the segment is $\tau_{\text {allow }}=300$ psi.