Risk of amniotic fluid embolism is greatest in :