Nb optimization