3D skeletonization is one of the most used techniques for the recognition and tracking of objects. One of the best-known algorithms is the one developed by Lee et al. in 1994, being perhaps the most used in plant phylogeny since it is implemented in ITK, Matlab and ImageJ platforms. However, this algorithm has some deficiencies that do not allow in several cases to obtain a topologically complete skeleton. This article presents a mathematical description of the method, the causes of its error and a topologically justified correction. Some improvements in its implementation are also presented, making the algorithm more efficient.