[W-I-P] Added static function: getThunkSize