Pad shared memory allocation for per-block histogram