简化 scanNodes