resize border size