Text Box Size computation improved and optimized.