Revert "smplify restriction"

This reverts commit 3ce92784ee5037d27c45a40929b37476e9482fd4.
algorithm rettelser