Cache prefix&suffix in b:var instead of dict