angram pair search better, but still slow