Also I've never heard of this thing of bipedal locomotion requiring a alteration of the pelvis's size. The improving of bipedal walk when human ancestors were not primarily arboreal anymore probably led to a alteration in the shape of the pelvis, but not significantly in the size. I think that the gestation time did not shortened, I guess that in fact it got longer, making possible brain development to go further, and then, requiring a bit of enlargement on female pelvis.
But, really, walking upright brings a bunch of probles to tetrapods that mostly had locomoted his spines horizontally. There are the spine problems itself, and other problems such as gravity and what it does with the female vertical standing bodies in pregnancy, I do not know detailed, but there are problems with that. The advantages had to pay the problems, or else it probably would had not be selected. "Lucy: the begginnings of humankind", by Donald Johanson and Maitland Edey explains better than me the hypothesis of Owen Lovejoy that the way to bipedalism led to beings that can have more offspring than arboreal beings, in a positive feedback way.
Basically, being bipedal is a inneficient way of locomotion - it's not faster or economical than quadrupedalism to the same range/time - but with this came things like females being capable of take care of more than one child at once, because that's easier and safer to do in the ground with kids that are not faster than you. The fall from the ground to the same ground is certainly less harmful than the fall from the tree. That's the main point, the more numerous offspring. But with this is hypothetized that a lot of typic human characteristics came together, such as monogamy and the absece of determinant heat on females, the roots of family nucleus, more sociability and etc.