changed segment bounding rect