skeletonize phase 1