shared corner condition