implement basic open<->full marking(without flood fill algorithm)