Fix rounding error exposed by different test random set.