removed the unsigned long long int limit, now only applies to index distance