don't calculate distance for inside paths
add KAD to polygon