...
In order to perform an optimisation, each direction should be fixed once for each local coordinate system. This is a sufficient condition to ensure that the optimisation can be performed without problems. Less fixations are possible, but can lead to problems especially during the reduction of fixations.
You might also be interested in this tutorial: