I need to populate an array with values from a var. Array length is 1000 which indexes distance (ie arr[0] is 1m, arr[234] is 235m, etc). Values to be indexed