with earnings distribution as step function