Added fixed size to donut sample. Related to #1538.