A theoretical investigation on the dependence of Gmb measurements on boundary conditions