more flexible segment bounds