Analyze Skeleton: fixed bug when pruning end-point branches on an image without end points reported by Jan Eglinger.