Expand f