yet another mod to try to decrease wasted time and/or computations - first generation will have few duplicates, so don't check it