still, it would be good to move it, as the function name would also describe the concept we're looking at, instead of just implementation. this could even be a private function in `gbindcommon.cpp`, if its only used in this file