catalog: let x and y of catalog size near sqrt of number of threads