Maybe milk production and weight gain are linked?

I've gained 20kg now (am almost 39 weeks) and I'm quite the dairy cow too when breastfeeding. Makes the weight fall off and saves on formula, can't complain really