The wall detection routine is fairly complex. When combined with rules regarding unit seperation, unit's will temporarily break from trailing a wall to allow another unit to either pass or gain positioning along side a wall. In each of these demonstrations the units have been denied the ability to stop or stand.