Fix all issues, next step : test serial do_pivot