A configuration space of homologous proteins conserving mutual information and allowing a phylogeny inference based on pair-wise