pixel rejection levels when stacking

Already done in dev version.