use NB in gatherv
use NB in scatterv