Add range checking to access control such that it fits within (N >= -2 && N <= 6).