gtable: turned norm_gtable into a static function