 		var nextY:int = paragraphY;
 		var textLine:TextLine;
         
+        const thisLeftMargin:Number = leftMargin;
+        const thisRightMargin:Number = rightMargin;
+
         // TextField seems to do this.  You can see it with wordWrap and 
         // indent > width or when rightMargin > width.  In the former case,
         // the first line is visually empty but contains a character which is 

            // Adjust the compose width for indents and margins. 
            if (n <= 1)
            {
                var totalIndent:Number = blockIndent + leftMargin;
                if (n == 0)
                    totalIndent += indent;
                

                    maxLineWidthBeforeIndent - totalIndent;
                
                if (wordWrap)
                    maxLineWidthBeforeIndent -= thisRightMargin;

                // Stay within the bounds to avoid exception.  Since 
                // fitSomething is true it is okay if maxLineWidth is < 0.
