ldsearchk2 can now handle >300,000 loci. (took arrays off the stack)