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

    (i - 1) * 2

do the following

    ~-i * 2

which will save you 2 bytes.