restores higher precision to grains.out
Merge precision fix from 0.2.x