Detect walls and starts