isolate certain blocks to place buffer in shared memory