heuristic update pending definition of isolatedCount function