Client : fix a bug in the tree center computation

Successful tests: 40016/40016

Signed-off-by: Jean-François Erdelyi <jean-francois.erdelyi@etu.iut-tlse3.fr>