add missing return
use the worldcomm associated to bdf (not use Environment::worldComm)
add a check on the size of buffer2