The integer division must go after all multiplications, otherwise
it chops out very small rewards, while their coinage is consumed.