Have better dimension exclusions

why is this loop inside the if-statement?