Reconciling effectiveness and distributive justice