improved definition for logGBF
tweaks