new reducer partial gradient