reverting rc
gap-aware line tracing (both los and fire) optimization