Proper resize column algorithm