removed unique pred calculations as too costly