modify kernel to 2D block