demo the dynamic segment bug