Fix documentation
Repeat optimisation until nothing change.