0259: improved traffic raycast in curves

#254