Getting rid of the gap between segments.