Allow magic number > 4 bytes