Fixed weird overflow bug
Merge pull request #3 from jrvc/master

Fixed weird overflow bug