Limiting the number of each piece in two-dimensional cutting stock patterns