Added reduce benchmark, fix in reduce operation