flood fill implement