Wrapping size filtering function around named function