added dist_ten (true when dist<=10)