Do not compensate SM with quantity=0 and set quantity=0 on built but not-frozen SM to delete