breaking out corner set validity check