Changed wall distance limiter for SA