Road length calculation