switched to more efficent array of distances.  Should work, going to submit