Fixed FugeCoin share were not accepted (wrong calculation)

This is more elegant then the pull request #2.