Improved flow layout.

Does a sequence of relaxation steps.