fiddles with randomization, finds shared term ranks