Change "NO_PARENT" to "NO_VERTEX" and use it more.