[dev] Change the result algorithm.