Changed 2^30-1 to 1073741823 because I don't know how to Ruby