Fixed path building & branch length

Fixed safe pathway construction; branch length now counted from trunk
walls instead of trunk centerline.