localdist adjustment