How does the shape of a magnet effect its shape?