abstract: We describe a geometric algorithm that generalizes the classical continued fraction algorithm for the torus to all translation surfaces in hyperelliptic strata. The diagonal changes algorithm provides a geometric realization for the natural extension of the renormalization introduced by S.~Ferenczi and L.~Zamboni for the corresponding interval exchange transformations. We show that this algorithm produces all saddle connections which are best approximations in a geometric sense and can be used to produce a list of systoles along a Teichmueller geodesics and of pseudo-Anosov maps. This is joint work with Vincent Delecroix.