cpp maf2synteny implementation incorporated + some fixes inside