prepared n-best path in c code
introduced debugging statements. todo why not log