tuning block and grid size
back on dynamic allocating sMem