added fall off end check
Merge branch 'master' of github.com:stredger/jvm