Factors contributing to speciation