reduce uses shared memory; 1.57 ms