Add equal check for boundary