avoid poor solutions that have already been discarded
osgoi datrysiadau gwael sydd eisoes wedi eu gwrthod