added min_z and max_z to router (following JDureau suggestion). Store a et b of logit a b in the scale of s_par