Add adaptive tracing block size and shared memory size (256 as max thread block and 40000 bytes as total shared memory size)