started skeletonization implementation for segment trees