Changed spore formation: now chooses only unique cells