Find best sequence to fit a curve using a collection of identical arcs