change some distance to percent