added a selectino algorithm, but we are converging on bad solutions