completed: kernel with N blocks