segments trim