Improved flood fill performance by extracting surface.Width outside the loop.
Improved flood fill performance by extracting surface.Width outside the loop.

Reduced duplicated code in the floodfill method for examining north/south rows.

Mailaender/Pinta,Mailaender/Pinta,jakeclawson/Pinta,PintaProject/Pinta,PintaProject/Pinta,Fenex/Pinta,PintaProject/Pinta,jakeclawson/Pinta,Fenex/Pinta