Size adjustment and corner rounding improvement