On efficient m-ary q-th order spectral-null code