Please choose the correct answer to the question: According to the fossil record, when did episodes of rapid speciation commonly take place?

Answer1: while Earth's continents were joined Answer2: while Earth's habitats were stable Answer3: before major climatic changes Answer4: following mass extinctions

Answer format: answer1/answer2/answer3/answer4
Answer: answer4