map/reduce multiplication