function relax(k)

fprintf('relax on level %d \n', k)

%   The following is used to print picture of cycle and may be safely
%   removed.
global level
s = length(level);
if s == 0
    level = k;
else
    if level(s) ~= k;
        level(s+1) = k;
    end
end
    