folded 'f.real_width' into user-defined function