Baby's size linked to mother's weight?

C.

Some say that baby's size is linked to mother's weight gain, others say that baby's size is linked to mother's pre-pregnancy weight. Any of this true?