improve article discard images algorithm