compress segament a bit