To subtract one (-1), instead of doing this

    i -= 1

do the following

    ~-i

which will save you one byte.