Refactor node IBO function.