use flag to determine if a node is in solid