A light rod carries three equal masses $A, B$ and $C$ as shown in figure. The velocity of $B$ in vertical position of rod if it is released from horizontal position as shown in figure is:
(a) $\sqrt{2 g} l$
(b) $\sqrt{\frac{18 g l}{7}}$
(c) $\sqrt{\frac{4 g l}{3}}$
(d) $\sqrt{\frac{8 g l}{7}}$