path = path.slice(0, s + t - 1);
if (path == null) {
return null;
}
PathNode newEyeTail = path.getEyeTail();
PathNode newLightTail = path.getLightTail();
newLightTail = newLightTail.expand(rnd.next(), rnd.next(), rnd.next()); // FIXME
return new Path(newLightTail, newEyeTail);
}