Figure shows a block A of mass 8m having a smooth semi circular groove of radius a placed on a smooth horizontal surface. A block B of mass m is released from a position in groove, where its radius is horizontal. The speed of block A when block B reaches its bottom is