fix in corser
WARNING now self.B is a dictionnary