Modify profiling statistic for find_factor