lastSuceededStack check against inventory size.

also, code formatting is good, mkay.