*less debug print
*more strict back-to-NC matching