Closing each plot