From automata to multiautomata via theory of hypercompositional structures