max scheme for credit assignment