fixing upgrading with negative squad sizes
Merge branch 'master' of https://github.com/kjian279/RISC