distance arrays should be somewhat dynamic
ignore dist/