Algorithm corrected..

added increas of nSegment which caused wrong path in oneway streets as
closest segments