Initialize discard structures only when discard=1