Flatten vertical borders.