Crossing over and genetic diversity