NXP-15350: fix loop transition detection
NXP-15350: better start node computation