Mg bytebeat switching