This was a prospective non-blinded randomized controlled trial with randomization stratified for pregnancies in which the membranes ruptured between 16 +0 and 19 +6 weeks ' gestation and 20 +0 and 23 +6 weeks ' gestation to minimize the risk of random imbalance in gestational age distribution between randomized groups .