      */
     private function updateMaxHeight():Boolean
     {
-        // FIXME (klin): use max heap? might not be worth the overhead.
         var max:Number = 0;
         for each (var cellHeight:Number in cellHeights)
-            max = Math.max(max, cellHeight);
+        {
+            if (cellHeight > max)
+                max = cellHeight;
+        }
         
         const changed:Boolean = maxCellHeight != max;
         maxCellHeight = max;

        
        cellHeights[index] = value;
        
        return updateMaxHeight();
    }
    

     */
    public function moveColumns(fromCol:int, toCol:int, count:int):void
    {
        GridDimensions.insertElementsToVector(cellHeights, toCol, cellHeights.splice(fromCol, count));
    }
    
    /**
