On Efficient High-order spectral-null codes over the m-ary alphabet