Fixed rounding up error for Grain.