}
if (n==null) return;
Forest[] holder = new Forest[r.pos];
- if (r.pos==0) n.finish(r, r.zero(), n.phase());
+ if (r.pos==0) n.finish(r, r.zero(n.phase().getLocation().createRegion(n.phase().getLocation())), n.phase());
else n.reduce(r, r.pos-1, n.phase(), null);
} else {
if (r.pos<=0) throw new Error("called wrong form of reduce()");