A square coil of edge l having n turns carries a current i. It is kept on a smooth horizontal plate. A uniform magnetic field B exists in a direction parallel to an edge. The total mass of the coil is m. Find Minimum value of B for which the coil will start tipping over ?