implemented step (flood fill)