next_value * 10000 causes overflow for big values