combine OD OT LC and using ivs.h

add queue
ivs.h
line crossing