Clean up mathematical workarounds
Currently, due to lack of high enough precision and the lack of multiplication support, the contract applies a mathematical workaround.
We should remove this workaround and clean up the contract code when the Bitcoin Cash network upgrades to support larger integers and multiplication.