hmm.....

RemSpace = 123971584

Declaring i as a long value produces the same results. I guess I am misunderstanding here. I guess RemSpace should be declared as an integer as well?