fix dense with sparse subtraction