for(Position p : n.state) {
if (((p.isFirst() || p.isLast()) && !force) || p.owner().name==null) {
for(Node n2 : n.parents())
for(Position p : n.state) {
if (((p.isFirst() || p.isLast()) && !force) || p.owner().name==null) {
for(Node n2 : n.parents())