Checking of wall coordinates