update segmentation opt with new UBT design, ready for test