Implement visualize and erase on BTreeSegment