initialize ldsearchk, which will allow different set sizes