Control of accumulating stock pollution by heterogeneous producers