added floodfill-ish image split