"i - 1" wants to be "i - jump" or better yet just "i" and save the += jump until the bottom of the loop?