Adding flexible borders.