suppressing redundant softbounds in SquareGrating