Dortmund and Legia Warsaw combined to set a record