'make sure that solutions fit to sample distribution, this interface will probably change.
In particular the frequency of long vectors appearing in pop[idx] - self.mean is limited.'

def clip_or_fit_solutions(self, pop, idx):

    for k in idx:
        self.repair_genotype(pop[k])
