floodfill working correctly, but with a diff