A metallic wire is folded to form a square loop of side a. It carries a current i and is kept perpendicular to the region of uniform magnetic field B. If the shape of the loop is changed from square to an equilateral triangle without changing the length of the wire and current. The amount of work done in doing so is