minor change in outerproduct interface