added the bones of a genetic algorithm for shrinking