Bug fix

fixed an issue when base meshes could not be generated from cyclic
skeletons without branching aka toruses