Fix staking with small coins