A metallic wire is folded to form a square loop of side $a$. It carries a current $i$ and is kept $ \perp$ to a uniform magnetic field. If the shape of the loop is changed from a square to a circle without changing its length or current, the amount of work done is