histogram uses shared memory (1.45 ms)