Added best-tie code in oNo.c