Conflict fix.
Conflict fix.
Added longest wall searching.