The development manual contains some explanations about the variable swapping algorithm. A revision is needed.