Speciation in a ring