Adjust max bet
Compiled Version
Merge master into compiled