nodes: bug fix: split nodes in the right place

Fixed the bug about the splitting problem.

PTAL