made Flood fill use a stack as recursion caused a StackOverflow