A small cube of mass 'm' slides down a circular path of radius 'R' formed from a large block of mass 'M' as shown in figure 'M' rests on a table and both blocks move without friction. The blocks are initially at rest and 'm' starts from the top of the path. Find the velocity 'v' of the cube as it leaves the block. Initially the line joining m and the center is horizontal