Update distance between nodes around the circle wall