when does baby stop gaining weight in the womb